<% product =  @products.first%>
<div class="product_flash">
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="450" height="450" id="duoduo" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="FlashVars" value="product_id=<%=product.id%>" />
    <param name="allowFullScreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="/flash/pics450.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />
    <embed  wmode="transparent" src="/flash/pics450.swf?product_id=<%=product.id%>" quality="high" bgcolor="#ffffff" width="450" height="450" name="duoduo" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  </object>
</div>
<div id="inner_facebox_products">
  <p>衣服名称： <%=product.material.style.name%></p>
  <p>衣服颜色： <%=product.material.name%></p>
  <p>衣服材料： 纯棉</p>
  <p>衣服编号： <%=product.material.sn%></p>
  <p>衣服性别： <%=format_sex(product.material.style.sex)%></p>
  <p>衣服价格： <span class="yen"><%=product.material.price%></span></p>
  <p>图案编号： <%=product.designs_string%></p>
  <p>图案价格： <span class="yen"><%=product.price - product.material.price%></span></p>
  <p>合计价格： <span class="yen"><%=product.price%></span></p>
  <p>
    <a href="/products/confirm/<%=product.id%>" >
      <img src="/images/minibuy.gif" alt="购买" />
    </a>
    <a href="/products/favorite/<%=product.id%>" >
      <img src="/images/minifavobt.gif" alt="收藏" />
    </a>
  </p>
</div>